package com.usian.order.mapper;

import com.usian.jyzx.model.entity.order.OrderInfo;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 15 15 28
 **/
public interface OrderInfoMapper {

    int save(OrderInfo orderInfo);

    OrderInfo findOrderInfoByOrderId(String orderId);

    List<OrderInfo> findOrderByUserIdAndOrderStatus(Integer userId,Integer status );

    int updateOrderStatus(String orderNo,Integer orderStatus);
}
